<template>
  <div>
    <el-button type="primary" @click="login">登录</el-button>
  </div>
</template>
<script>
import {get} from '@/utils/api/index'
import {AxiosScheduler} from '@/utils/axiosSchedlue'

import DTable from '@/views/DTable'


export default {
  name: 'Login',
  methods: {
    login() {
      let axiosSchedlue = new AxiosScheduler()
      axiosSchedlue.add(()=>get('/api/login1'))
      axiosSchedlue.add(()=>get('/api/login2'))
      axiosSchedlue.add(()=>get('/api/login3'))
    }
  }
}
</script>
